package com.jf3q.front.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jf3q.common.domain.EduTeacher;
import com.jf3q.front.entity.Teacher;
import com.jf3q.front.mapper.TeacherMapper;
import com.jf3q.front.service.TeacherService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 86198
 * @description 针对表【edu_teacher(讲师)】的数据库操作Service实现
 * @createDate 2024-05-29 10:00:39
 */
@Service
public class TeacherServiceImpl extends ServiceImpl<TeacherMapper, Teacher>
        implements TeacherService {

    @Autowired
    TeacherMapper teacherMapper;


    @Override
    public Teacher cha(String id) {
        return teacherMapper.cha(id);
    }



    @Override
    public List<Teacher> getHotEduTeacher() {
        return teacherMapper.getHotEduTeacher();
    }

}




